package com.groupseven.happycampus.common.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @CreateTime: 2022-07-26  20:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ParttimeDay {

    private Integer id;

    private String position;

    private Integer wage;

    private String company;

    private Integer telephone;

    private String region;


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date deadtime;


    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date worktime;

    private String description;





}
